import request from '@/utils/request'

// 查询物业费用列表
export function listFeProperty(query) {
  return request({
    url: '/life/feProperty/list',
    method: 'get',
    params: query
  })
}

// 查询物业费用详细
export function getFeProperty(id) {
  return request({
    url: '/life/feProperty/' + id,
    method: 'get'
  })
}

// 新增物业费用
export function addFeProperty(data) {
  return request({
    url: '/life/feProperty',
    method: 'post',
    data: data
  })
}

// 修改物业费用
export function updateFeProperty(data) {
  return request({
    url: '/life/feProperty',
    method: 'put',
    data: data
  })
}

// 删除物业费用
export function delFeProperty(id) {
  return request({
    url: '/life/feProperty/' + id,
    method: 'delete'
  })
}
